package algotithm.jianzhioffer.test17;

/**
 * @author zhouyanxiang
 * @Date 2020-12-2020/12/17-9:27
 */
public class Solution {

    public static void main(String[] args) {

    }

    public int[] printNumbers(int n) {
        int x = (int) Math.pow(10, n);
        int[] arr = new int[x - 1];
        for (int i = 0; i < arr.length; i++) {
            arr[i] = i + 1;
        }
        return arr;
    }
}
